import { createContext } from 'react'
import type { ComType } from './type'

const defaultFunc: any = () => {}

const ModalContext = createContext<ComType>({
	open: false,
	setModal: defaultFunc,
	setUpdateFunc: defaultFunc
})

export default ModalContext
